projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad6043
)
css node tree: Fix crash
author
Timm Bäder
<mail@baedert.org>
Wed, 10 Feb 2016 11:28:32 +0000
(12:28 +0100)
committer
Timm Bäder
<mail@baedert.org>
Wed, 10 Feb 2016 11:28:32 +0000
(12:28 +0100)
This function would return "" whenever the state of the css node was
unset, causing a crash when selecting the css node tree from the
sidebar.
gtk/inspector/css-node-tree.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/css-node-tree.c
b/gtk/inspector/css-node-tree.c
index db2e8207249d25f572d6979c626ad5cf373e5d52..a207e183f40a138aadafe3b40d3f684aad8f986f 100644
(file)
--- a/
gtk/inspector/css-node-tree.c
+++ b/
gtk/inspector/css-node-tree.c
@@
-395,7
+395,7
@@
format_state_flags (GtkStateFlags state)
return g_string_free (str, FALSE);
}
- return
""
;
+ return
g_strdup ("")
;
}
static void